package com.swfee.qinben.httpactions;

import java.util.List;

import com.swfee.qinben.dto.req.ContactReqDto;
import com.swfee.qinben.dto.rsp.ContactRspDto;
import com.swfee.qinben.httpactions.base.ReqBaseAction;

public class ContactAction extends ReqBaseAction<ContactReqDto,ContactRspDto> {

	
	public ContactAction() {
		super();
		setDefaultRspClass(ContactRspDto.class);
	}
	
	@Override
	public String getBaseActionUrl() {
		return "/webService/MedicalCare.CommonServices/Contacts.asmx";
	}
	
	
	public List<ContactRspDto> getContacts(){
		String actionName = "/GetContacts";
		ContactReqDto dto = new ContactReqDto();
		return  doHttpForList(dto, actionName);
	}
	

}
